/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package systole.view.tabs.results.background;

import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;

/**
 *
 * @author jmj
 */
public class BackgroundTableModelListener implements TableModelListener {

    private JPnlBackgroundTable panel;

    /**
     * 
     * @param panel
     */
    public BackgroundTableModelListener(JPnlBackgroundTable panel){
        super();
        this.panel = panel;
    }

    @Override
    public void tableChanged(TableModelEvent e) {
        panel.updateExample();
    }

}
